package cn.kgc.service;

import cn.kgc.dao.RoleMapper;
import cn.kgc.entity.Role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Rock
 * @create 2020-03-04 21:38
 */
@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private RoleMapper mapper;

    public List<Role> queryAll() {
        return mapper.queryAll();
    }
}
